﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ListContacts.aspx.cs" Inherits="SD.UI.ListContact" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>List Contacts</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="100%">
            <tr>
                <td>
                    <div>
                        <asp:Panel ID="PanelSearchHeader" runat="server">
                            <div>
                                <table width="100%">
                                    <tr>
                                        <td>
                                            <div>
                                                <asp:Label ID="lbFirstName" runat="server" Text="First Name:">
                                                </asp:Label>
                                            </div>
                                        </td>
                                        <td>
                                            <div>
                                                <asp:TextBox ID="txbFirstName" runat="server">
                                                </asp:TextBox>
                                            </div>
                                        </td>
                                        <td>
                                            <div>
                                                <asp:Label ID="lbSurname" runat="server" Text="Surname:">
                                                </asp:Label>
                                            </div>
                                        </td>
                                        <td>
                                            <div>
                                                <asp:TextBox ID="txbSurname" runat="server">
                                                </asp:TextBox>
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </asp:Panel>
                    </div>
                </td>
            </tr>
            <tr>
                <td style="float:left">
                    <asp:Button ID="btnSearchAddress" runat="server" Text="Search" 
                        onclick="btnSearchAddress_Click" />
                    <asp:Button ID="btnNone" runat="server" Text="None" onclick="btnNone_Click" />
                    <asp:Button ID="btnClear" runat="server" Text="Clear" 
                        onclick="btnClear_Click" />
                    <asp:Button ID="btnCreate" runat="server" Text="Create" 
                        onclick="btnCreate_Click" />
                </td>
            </tr>
            <tr>
                <td>
                    <div>
                    <asp:CheckBox ID="chkInActive" runat="server" Text="Include In-active contact?" Checked="false"/>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div>
                        <asp:Panel ID="PanelFooterSearch" runat="server">
                            <div>
                                <asp:GridView ID="gvSearchAddress" runat="server">
                                </asp:GridView>
                            </div>
                        </asp:Panel>
                    </div>
                </td>
            </tr>
            <tr>
                <td style="float:right">
                    <div style="float:right">
                        <asp:Panel ID="PanelBottom" runat="server">
                            <asp:Button ID="btnFirst" runat="server" Text="First" 
                                onclick="btnFirst_Click" />
                            <asp:Button ID="btnPrevious" runat="server" Text="Previous" 
                                onclick="btnPrevious_Click" />
                            <asp:Label ID="lbPages" runat="server" Text="Pages"></asp:Label>
                            <asp:TextBox ID="tbxCurrentPage" runat="server" Enabled="false" style="width:30px;"></asp:TextBox>
                            <asp:Label ID="lbNumberOfPages" runat="server" Width="40px"></asp:Label>
                            <asp:Button ID="btnNext" runat="server" Text="Next" onclick="btnNext_Click" />
                            <asp:Button ID="btnLast" runat="server" Text="Last" onclick="btnLast_Click" />
                        </asp:Panel>
                    </div>
                </td>
            </tr>
            <tr>
                <td style="float:left">
                    <div>
                        <asp:Button ID="btnSelect" runat="server" Text="Select" 
                            onclick="btnSelect_Click" />
                        <asp:Button ID="btnEdit" runat="server" Text="Edit" onclick="btnEdit_Click" />
                        <asp:Button ID="btnClose" runat="server" Text="Close" 
                            onclick="btnClose_Click" />
                    </div>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
